<?php
interface databaseInterface {
  function connect ($server,$user,$pass,$database);
  function getResource ($what='LAST');
  function resource (&$resource=null);
  function excecute ($commands);
  function fetch_object ($resource=null);
  function fetch_array ($resource,$type='BOTH');
  function num_rows ($resource=null);
  function num_fields ($resource=null);
  function fetchInto (&$return, $resource=null,$returnType='object',$returnClass='');
  function desconecta ();
}
?>